OCAMLC    = ocamlopt

all	:	figures geomancian

figures : figures.cmx
	$(OCAMLC) -o figures figures.ml

geomancian : geomancian.cmx
	$(OCAMLC) -o geomancian figures.ml geomancian.cmx
	
clean : 
	$(RM) -f *.cmi *.cmx *.cmo *.o *.save* geomancian figures

%.cmi: %.mli
	$(OCAMLC) -c $<

%.cmx: %.ml 
	$(OCAMLC) -c $<
